---

- name: install the atomic-reactor copr repo (fedora)
  copy:
    src: "{{files}}/osbs/maxamillion-atomic-reactor-fedora.repo"
    dest: "/etc/yum.repos.d/maxamillion-atomic-reactor-fedora.repo"
  when: env == "staging" and is_fedora is defined

- name: install the atomic-reactor copr repo (epel)
  copy:
    src: "{{files}}/osbs/maxamillion-atomic-reactor-epel.repo"
    dest: "/etc/yum.repos.d/maxamillion-atomic-reactor-epel.repo"
  when: env == "staging" and is_rhel is defined
